<table id="staff_applyInfo" data-options="fit:true"></table>
<script>
$(function(){
	$('#staff_applyInfo').datagrid({
		url:'../applyInfo/Get_OneApplyInfo',
		loadMsg:'数据加载中...',
		fitColumns:true,
		rownumbers:true,
		striped:true,
		sortName:'aid',
		sortOrder:'asc',
		remoteSort:false,
		columns:[[
			{field:'aid',title:'申请编号',width:100,align:'center',sortable:true},
			{field:'laddr',title:'维修地区',width:300,align:'center'},
			{field:'aok',title:'是否通过',width:50,align:'center'},
			{field:'astatus',title:'是否维修',width:50,align:'center'}
		]],
		toolbar: [{
			iconCls: 'icon-add',
			text:'添加',
			handler: function(){
				$("#add_applyInfo").dialog("open");
			}
		},'-',{
			iconCls: 'icon-edit',
			text:'已维修',
			handler: function(){alert('help')}
		}]
	});
});
</script>
<div id="add_applyInfo" class="easyui-dialog" title="维修申请" style="width:400px;height:150px;"
	data-options="iconCls:'icon-add',resizable:true,modal:true,closed:true">
	<p style="width:100%;text-align:center;">
		<br /> <br /> 
		<label for="applyInfo_laddr">维修地区：</label>
		<select style="width:200px;text-align: center;">
			<option value="请选择维修地区">请选择维修地区</option>
		</select>
		<input type="button" value="申请" style="width:80px;"/>
	</p>
</div>
